function countdown()
{
var theDay = new Date("August 21, 2001")
var DayTill

var today = new Date()
var second = Math.floor((theDay.getTime() - today.getTime())/1000)
var minute = Math.floor(second/60)
var hour = Math.floor(minute/60)
var day = Math.floor(hour/24)
CDay= -day
CHour= -hour % 24
CMinute= -minute % 60
CSecond= -second % 60
PosSecond=DayTill = " " + CDay + " giorni, " + CHour + " ore, " + CMinute + " minuti e " + CSecond + " secondi"
document.clock.countdown.value = DayTill
var counter = setTimeout("countdown()", 1000)
}
